using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace HHHFramework {
    public interface IEventManager : IDisposable
    {
        void Clear();
        IDisposable RegisterEvent<T>(Action<T> onReceive);
        void SendEvent<T>() where T : new();
        void SendEvent<T>(T e);
        void UnRegisterEvent<T>(Action<T> onReceive);
    }
}

